package com.easy.mapper;

import com.easy.bean.Log;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface LogMapper {



    @Insert("INSERT INTO log(service_name, method_name, params, return_value, create_time, execution_time) " +
            "VALUES(#{serviceName}, #{methodName}, #{params}, #{returnValue}, #{createTime}, #{executionTime})")
    void insertLog(Log log);
}
